package com.ruoyi.system.service.impl;

import com.ruoyi.system.mapper.SysRoleDeptMapper;
import com.ruoyi.system.service.ISysRoleDeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysRoleDeptServiceImpl implements ISysRoleDeptService {

    @Autowired
    private SysRoleDeptMapper sysRoleDeptMapper;


    @Override
    public List<String> selectDeptIdByRoleIds(List<Long> roleIds) {
        return sysRoleDeptMapper.selectDeptIdByRoleIds(roleIds);
    }
}
